﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace IMS_1._0
{
    public partial class Branch : Form
    {
        public Branch()
        {
            InitializeComponent();
        }

        private void lblpincode_Click(object sender, EventArgs e)
        {

        }
        int check_details()
        {
            int cd = 0;
            if (txtbox_email_Branch.Text == "")
            {
                errorProvider1.SetError(txtbox_email_Branch, "Email Id should be valid");
                cd = 1;
            }
            if (txtbox_phoneNo_Branch.Text == "")
            {
                errorProvider1.SetError(txtbox_phoneNo_Branch, "Phone no should be proper");
                cd = 1;
            }
            return cd;
        }
    }
}
